package com.raja.servingStation.service;

import com.alibaba.fastjson.JSONObject;
import com.raja.servingStation.common.constant.MysqlPageVo;
import com.raja.servingStation.entity.ServingStation;

import java.util.List;

/**
 * Created by liuyanjun
 * on 2017/9/30/030.
 */
public interface ServingStationService {

    public MysqlPageVo queryStationListByPage(JSONObject body) throws Exception;

    public List<ServingStation> queryServingStations() throws Exception;

    ServingStation getUserByLoginName(String loginName) throws Exception;

    ServingStation getUserByUserId(Integer userId) throws Exception;

    void updateFirstPassword(ServingStation userInfo) throws Exception;

    ServingStation getUserByIdAndPassword(Integer userId, String oldPassword) throws Exception;
}
